home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1 Issue 2
/
PDCD-1 - Issue 02.iso
/
_utilities
/
utilities
/
001
/
whereis
/
history
next >
Wrap
Text File
|
1993-08-25
|
2KB
|
43 lines
Revision History:
1.00 : 30 Aug 93
first release. This was the 'product' of playing with the libraries
of unixlib,rather than some serious Programming
1.10 : 07 Aug 93
received bugreport/alterations in source by
A.Oliver (aoliver@acorn.co.uk) .Thanks Ashley !
bugfix : last entry of Run$path was not read,because it generally
has no ',' behind it
bugfix (A.Oliver) : don't blindly strip trailing '.' ,it might be a
':' ,when a pathvariable is in Run$Path
bugfix (A.Oliver) : there might be a ',,' entry or no Run$Path at all,
search CWD instead.
added : if Run$Path contains a pathvariable,search all given paths
within. Did anyone ever crash RO with nested Run$Paths (:-) ?
This wasn't a simple 'fix',but a major restructuring of the program
removed: static char envir[128] = "Run$Path" ; and other never used
variables (:-)
1.20 : 25 Aug 93
bugfix: if the Run$Path started with ',' , it's the CWD, this was
not working properly with any prior version.
(another bugreport from A Oliver)
minor changes in search() so filen doesn't get lower()'d every single
round while combing through the dir.
added searching for Alias$<name> to add unix-'which' functionality.
added searching through all modules for *commands,returns command/Modulename
added searching in File$Path (doesn't really fit,but who cares)
added -f flag to (not) include File$Path in seach
added counting/reporting of number of *commands/files with -v
added -h switch to give help, cut down on output in case of error
added use of stricmp() instead of strcmp() and lower()'ing <filename>
in moduletest()
bigfix: wildcard bug: if wildcard matched the last characters of a
leafname, the file would not be recognized/displayed,this was
a bug in UnixLib 3.6c (see file 'UnixLfix')
added - ,so files like '-ls' could be searched for with 'whereis - -ls'
added 'Processing name' message,if -v is given.Some want to know if their
cryptic input (whereis -f -vf - -vf) is really a search for file '-vf'
added flexible switch handling: -v -f is as good as -fv .Position of a
switch in the commandline does not matter.